// generating config files for a physical node
// Created: Apr. 13, 2023 by SUN Yazhou, asia.rabbit@163.com

#ifndef TYPES_H
#define TYPES_H

// cmc: central management console; MC: master crate; SC: slave crate
// CRATE_SINGLE: single-crate mode
enum CRATE_TYPE{CRATE_CMC, CRATE_MC, CRATE_SMC, CRATE_SC, CRATE_SINGLE};
// STA: status; CMD: comamnd, e.g., trigger
enum STREAM_TYPE{DATA, CMD, STA, STREAM_OTHER};
// commmand types
enum CMD_TYPE{DATA_SAVE, SYS_CONSOLE_GUI, REDUCE_INDEX, MAP_INDEX, RECEIVE,
  TRANSMIT, DSI, MASTER_TRIGGER, SLAVE_TRIGGER};

#endif
